﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CLEX.AdminUI.Service;

namespace CLEX.AdminUI.ViewModel
{
    internal sealed class FriendRequestReadVM : ViewModelBase
    {
        private readonly FriendRequestData sharedDatabase;
        private readonly string fromUsername;
        private readonly string toUsername;

        public int FromUserId
        {
            get { return sharedDatabase.FromUserId; }
        }

        public int ToUserId
        {
            get { return sharedDatabase.ToUserId; }
        }

        public string FromUsername
        {
            get { return fromUsername; }
        }

        public string ToUsername
        {
            get { return toUsername; }
        }

        public FriendRequestReadVM(FriendRequestData sharedDatabase, string fromUsername, string toUsername)
        {
            this.sharedDatabase = sharedDatabase;
            this.fromUsername = fromUsername;
            this.toUsername = toUsername;
        }

        public FriendRequestData GetData()
        {
            return sharedDatabase;
        }
    }
}
